MailPoet\Models\Subscriber C

Total Complexity 103
Dependencies 10
Dependents 1
Total lines 860
Lines of code 611
Logical lines of code 241
Comment lines 163
Methods 47
Properties 2

Methods 47

Method Rating Maintainability Complexity Lines of code
createOrUpdate()
B
41 18 57
updateMultiple()
A
42 6 55
filterBy()
S
56 6 19
filters()
S
45 4 45
setRequiredFieldsDefaultValues()
S
56 4 17
withCustomFields()
S
58 3 15
filterWithCustomFields()
S
51 2 30
findOne()
S
64 4 9
saveCustomFields()
S
60 3 13
filterWithCustomFieldsForExport()
S
52 2 28
extractCustomFieldsFromFromObject()
S
61 3 11
groupBy()
S
64 3 10
trash()
S
67 3 8
delete()
S
65 3 9
getCustomField()
S
62 2 12
filterOutReservedColumns()
S
56 1 21
getWooCommerceSegmentSubscriber()
S
57 1 17
getSubscribedInSegments()
S
59 1 16
getAllSegmentNamesWithStatus()
S
59 1 16
search()
S
63 2 10
getCurrentWPUser()
S
66 2 8
extractSubscribersIds()
S
67 2 8
setUnconfirmedData()
S
67 2 8
getUnconfirmedData()
S
65 2 9
createMultiple()
S
59 1 15
withoutSegments()
S
62 1 13
bounced()
S
71 1 6
subscribe()
S
67 1 7
__get()
S
75 1 4
findSubscribersInSegments()
S
70 1 6
__callStatic()
S
75 1 4
inactive()
S
71 1 6
__construct()
S
66 1 8
unconfirmed()
S
71 1 6
unsubscribed()
S
71 1 6
subscribed()
S
71 1 6
getInactiveSubscribersCount()
S
71 1 6
getTotalSubscribers()
S
66 1 10
setCustomField()
S
67 1 8
withSubscriptions()
S
70 1 6
withSegments()
S
73 1 5
customFields()
S
66 1 9
isWooCommerceUser()
S
76 1 4
isWPUser()
S
76 1 4
save()
S
72 1 5
segments()
S
64 1 10
deprecationError()
S
71 1 6